package com.xb.report.controller;


import com.github.pagehelper.Page;
import com.xb.report.bean.PersonInfo;
import com.xb.report.service.IDemoService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * @Author gxd
 * jar运行 注意new modelAndView 开头没有/
 */

@Controller
@RequestMapping(value = "login")
public class LoginController {
    @Autowired
    IDemoService demoService;


    Logger logger=LoggerFactory.getLogger(this.getClass());



    @RequestMapping(value = "/loginbyemail")
    public @ResponseBody
    Map<String, Object> loginbyemail(HttpServletRequest request) {
        ModelMap map = new ModelMap();
        Integer r = null;

        map.put("result", r);
        return map;
    }



}
